package com.demo.pojo;

public class User {
    private String username;

    private String pwd;

    private String comployeeNo;

    private Integer competenceId;

    private Competence competence;

    private Boolean state;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd == null ? null : pwd.trim();
    }

    public String getComployeeNo() {
        return comployeeNo;
    }

    public void setComployeeNo(String comployeeNo) {
        this.comployeeNo = comployeeNo == null ? null : comployeeNo.trim();
    }

    public Integer getCompetenceId() {
        return competenceId;
    }

    public void setCompetenceId(Integer competenceId) {
        this.competenceId = competenceId;
    }

    public Boolean getState() {
        return state;
    }

    public void setState(Boolean state) {
        this.state = state;
    }

    public Competence getCompetence() {
        return competence;
    }

    public void setCompetence(Competence competence) {
        this.competence = competence;
    }

    @Override
    public String toString() {
        return "User{" +
                "username='" + username + '\'' +
                ", pwd='" + pwd + '\'' +
                ", comployeeNo='" + comployeeNo + '\'' +
                ", competenceId=" + competenceId +
                ", competence=" + competence +
                ", state=" + state +
                '}';
    }
}